﻿@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@{
    Layout = null;
    ViewData["Title"] = "登录-LViewLMS";
}

<!DOCTYPE html>
<html class="loginHtml">
<head>
    <meta charset="utf-8">
    <title>@ViewData["Title"]</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="icon" href="~/favicon.ico">
    <link rel="stylesheet" href="~/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="~/css/public.css" media="all" />
</head>
<body class="loginBody">
    <form class="layui-form">
        <div style="padding-top:20px">
            @Html.AntiForgeryToken()
            @*<div class="login_face"><img src="~/images/userface1.jpg" class="userAvatar"></div>*@
            <div class="layui-form-item input-item">
                <label for="userName">用户名</label>
                <input type="text" placeholder="请输入用户名" autocomplete="off" id="UserName" name="UserName" class="layui-input" lay-verify="required|userName">
            </div>
            <div class="layui-form-item input-item">
                <label for="password">密  码</label>
                <input type="password" placeholder="请输入密码" autocomplete="off" id="Password" name="Password" class="layui-input" lay-verify="required|password">
            </div>
            <div class="layui-form-item input-item" id="imgCode">
                <label for="code">验证码</label>
                <input type="text" placeholder="请输入验证码" autocomplete="off" id="CaptchaCode" name="CaptchaCode" class="layui-input" lay-verify="required|captchaCode">
                <img src="@Url.Action("GetCaptchaImage", "Account")" id="CaptchaCodeImg">
            </div>
            <div class="layui-form-item">
                <button class="layui-btn layui-block" lay-filter="login" lay-submit>@Localizer["SignIn"]</button>
            </div>
            @*<div class="layui-form-item layui-row">
                    <a href="javascript:;" class="seraph icon-qq layui-col-xs4 layui-col-sm4 layui-col-md4 layui-col-lg4"></a>
                    <a href="javascript:;" class="seraph icon-wechat layui-col-xs4 layui-col-sm4 layui-col-md4 layui-col-lg4"></a>
                    <a href="javascript:;" class="seraph icon-sina layui-col-xs4 layui-col-sm4 layui-col-md4 layui-col-lg4"></a>
                </div>*@
        </div>
    </form>
    <script type="text/javascript" src="~/layui/layui.js"></script>
    <script type="text/javascript" src="~/js/login.js?_=@DateTime.Now.ToString("yyyyMMddHHmmss")"></script>
</body>
</html>

